<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>css样式列表</title>
		<style type="text/css">
			li {
				float: left;
				list-style-type: none;
				text-align: center;
				background-color: aqua;
			}
			
			a {
				float: left;
				width: 100px;
				text-decoration: none;
				color: crimson;
				border-right: 1px solid black;
			}
			
			a:hover {
				color: chartreuse;
			}
			
			a:active {
				color: deeppink;
			}
		</style>
	</head>

	<body>
		<p>css设置网页导航栏样式：</p>

		<ul>
			<li><a href="#">首页</a></li>
			<li><a href="#">用户管理</a></li>
			<li><a href="#">购物车</a></li>
			<li><a href="#">订单</a></li>
			<li><a href="#">退出</a></li>
		</ul>

	</body>

</html>